package com.whynot.frame.auth.shiro.settings;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 描述: Shiro的基础接口url:
 * 作者: chenyao
 * 日期: 2018-01-30.
 * 项目名称: curtain-whynot-shiro-jwt-server
 * 版本: 1.0.0
 * JDK: since 1.8
 */
@Data
//@Component
@ConfigurationProperties(
        prefix = "shiroconfig"
)
public class ShiroSettings {
    private String loginUrl = "/login";
    private String successUrl = "/index";
    private String unauthorizedUrl = "/401";
    private int expireTime = 30*60;
    private Boolean kickout = true;
}

